<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.11/vue.min.js"></script>
<body>
<div id="app">
    <div v-if="count > 0">
        判断1，count的值是：{{count}}
    </div>
    <div v-else-if="count<0 && count >-5 ">
        判断2，count的值是：{{count}}
    </div>
    <div v-else>
        判断3：{{count}}
    </div>
    <div v-show="count ==-1">
        show:{{count}}
    </div>
    {{msg}}
</div>

</body>
<script>
    var app = new Vue({
        el:'#app',
        data:{
            msg:'Hello Vue!',
            count:0
        }
    })
</script>
</html>